<!--包含头部文件-->
{include file="public/header" /}
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 商户分店管理 <span class="c-gray en">&gt;</span> <a href="{:url('branch/delist')}">删除的分店</a>{:refresh()}</nav>
<div class="page-container">
	<div>
		<table class="table table-border table-bordered table-bg table-hover table-sort">
			<thead>
				<tr class="text-c">
					<th width="60">ID</th>
					<th width="80">名称</th>
					<th width="60">申请时间</th>
					<th width="60">总店id</th>
					<th width="80">总店名称</th>
					<th width="60">状态</th>
					<th width="80">操作</th>
				</tr>
			</thead>
			<tbody>
				{volist name="locations" id="vo"}
				<tr class="text-c">
					<td>{$vo.id}</td>
					<td>{$vo.name}</td>
					<td>{$vo.update_time}</td>
					<td>{$vo.bis_id}</td>
					<td>{:getMainBisByBisId($vo.bis_id)['name']}</td>
					<td class="td-status">{$vo.status|status}</td>
					<td class="td-manage">
						<a style="text-decoration:none" class="ml-5" onClick="" href="{:url('branch/detail',['id'=>$vo.id])}" title="查看"><i class="Hui-iconfont">&#xe6df;</i></a>
						<a style="text-decoration:none" class="ml-5" onClick="" href="{:url('base/status',['id'=>$vo.id,'status'=>1,'model'=>'BisLocation'])}" title="恢复">恢复</a>


					</td>
				</tr>
				{/volist}
			</tbody>
		</table>
	</div>
</div>
{:pagination($locations)}
<!--包含头部文件-->
{include file="public/footer" /}
